package com.ruoyi.puyu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 队员积分对象 puyu_member_integral
 * 
 * @author wusongwen
 * @date 2024-12-18
 */
public class PuyuMemberIntegral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 队员ID */
    private Long memberId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 队员姓名 */
    @Excel(name = "队员姓名")
    private String memberName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 基础积分 */
    @Excel(name = "基础积分")
    private Long integralBasic;

    /** 最后一次积分 */
    @Excel(name = "最后一次积分")
    private Long integralLast;

    /** 积分明细计算 */
    @Excel(name = "积分明细计算")
    private Long integralCalculate;

    /** 积分合计 */
    @Excel(name = "积分合计")
    private Long integralTotal;

    /** 删除标志 */
    private String delFlag;
    /** 队员类型 */
    @Excel(name = "队员类型", readConverterExp = "1=校内,2=校外")
    private Integer memberType;

    /** 积分排名 */
    private Long rank;

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIntegralBasic(Long integralBasic) 
    {
        this.integralBasic = integralBasic;
    }

    public Long getIntegralBasic() 
    {
        return integralBasic;
    }
    public void setIntegralLast(Long integralLast) 
    {
        this.integralLast = integralLast;
    }

    public Long getIntegralLast() 
    {
        return integralLast;
    }
    public void setIntegralCalculate(Long integralCalculate) 
    {
        this.integralCalculate = integralCalculate;
    }

    public Long getIntegralCalculate() 
    {
        return integralCalculate;
    }
    public void setIntegralTotal(Long integralTotal) 
    {
        this.integralTotal = integralTotal;
    }

    public Long getIntegralTotal() 
    {
        return integralTotal;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Integer getMemberType() {
        return memberType;
    }

    public void setMemberType(Integer memberType) {
        this.memberType = memberType;
    }

    public Long getRank() {
        return rank;
    }

    public void setRank(Long rank) {
        this.rank = rank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("memberId", getMemberId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("memberName", getMemberName())
            .append("phone", getPhone())
            .append("integralBasic", getIntegralBasic())
            .append("integralLast", getIntegralLast())
            .append("integralCalculate", getIntegralCalculate())
            .append("integralTotal", getIntegralTotal())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("memberType", getMemberType())
            .append("rank", getRank())
            .toString();
    }
}
